package com.eatme.web.app.article.service;

import com.eatme.web.common.QueryCondition;
import com.eatme.web.common.vo.AppResponse;
import com.eatme.web.app.article.dao.model.User;
import com.eatme.web.app.article.dao.model.UserVO;
import com.eatme.web.sys.entity.SysRole;
import com.eatme.web.sys.entity.SysUser;

import java.util.Map;
public interface SysUserService {
    AppResponse addUser(com.eatme.web.sys.entity.SysUser user);

    com.eatme.web.sys.entity.SysUser findByUserName(String userName);

    Map findList(QueryCondition<com.eatme.web.sys.entity.SysUser> queryCondition);

    com.eatme.web.sys.entity.SysUser detail(Integer id);


    com.eatme.web.sys.entity.SysUser findRole(Integer id);

    AppResponse updateUserRole(SysUser sysUser);

    AppResponse delete(Integer id);

    AppResponse query(QueryCondition<com.eatme.web.sys.entity.SysUser> queryCondition);
}
